package com.sinoglobal.sinostore.system;

public class Constants {
	/**网络状态**/
	public static boolean NETWORKSTATE = true;
	
	/**正式地址**/
	public static final String STORE_URL = "http://mall.sinosns.cn/app/";
	/**测试地址**/
//	public static final String STORE_URL = "http://192.168.10.11:8013/app/";
	
	/**产品标示**/
	public static String STOREFLAG = "25f70260a81487f1682f6fa470384ccb";  //   8a7dd37255b778b4062deac6dbd5ada9
	
	/**图片请求头链接**/
	public static String PIC_HOST;
	
	/**上门自取**/
	public static final String ISSELF_CODE = "100";
	/**包邮**/
	public static final String PACKAGEMAIL = "99"; 
	/**商品分类**/
	public static int Type_POSITION = 0;
	/**商品筛选**/
	public static int SORT_POSITION = 0;
	
	/**售前咨询**/
	public static final String CONSULT_CODE = "2";
	/**售后评价**/
	public static final String COMMENT_CODE = "1";
	
	public static final String STORE_SUCCESS_CODE = "0";//请求数据成功
	public static final String STORE_FAILURE_CODE = "1";//请求数据失败
	public static final String STORE_VERSIONUODATA_CODE = "2";//版本更新
	public static final String STORE_LOSTPARAMETER_CODE ="3";//缺少参数
	public static final String STORE_ILLEGALREQUEST_CODE ="4";//非法请求
	public static final String STORE_GOODSSOLDOUT_CODE = "5";//商品下架
	public static final String STORE_UNDERSTOCK_CODE="6";//库存不足
	public static final String STORE_PAYMENTFAILED_CODE = "7";//支付失败
	public static final String STORE_SUBMITFAILED_CODE = "8";//提交失败
	public static final String STORE_COLLECTIONGOODSEXIST_CODE = "9";//收藏商品已存在
	public static final String STORE_CONFIRMAGOODS_CODE="10";//确认收货confirmation of goods
	public static final String STORE_ADDRESSOVER_CODE="11";//收货地址已超过10条
	public static final String STORE_VISITFAILED_CODE = "99";//访问失败
	public static final String STORE_TIMEOUT = "30";//支付超时
	public static final String STORE_SORCENOTMORE = "27";//积分不足
	/**无数据**/
	public static final String NODATA_CODE = "29";

   //订单状态
	public static final int UNPAID_CODE = 1;//未付款
	public static final int UNFILLEDORDER_CODE = 2;//未发货+未领取（支付完成）+未使用（虚拟商品）
	public static final int SHIPPED_CODE =3;//已发货
	public static final int TAKEGOODS_CODE = 4;//已收货+已领取+已使用（待评价）
	public static final int FINISH_CODE = 5;//已完成
	public static final int CANCEL_CODE = 6;//已取消
	public static final int PAST_CODE = 7;//已过期
	public static final int CLOSE_CODE = 8;//已关闭
	public static final int EXCEPTION_CODE = 9;//异常订单
	
	/**支付宝支付**/
	public static final int ALIPAY = 1;
	/**积分支付**/
	public static final int SCOREPAY = 2;
	/**优付支付**/
	public static final int UMPAY = 3;
	
	/**现金支付**/
	public static final int MONEYPAY = 1;
	
	
	
	/**虚拟商品**/
	public static final String VIRTUALGOODS = "2";
	/**实物**/
	public static final String PHYSICAL = "1";
	/**秒杀活动**/
	public static final String SECONDKILL_ACTIVITY = "1";
	/**抢光了**/
	public static final String SOLDOUT = "4";
	/**在秒杀时间内**/
	public static final int ISMS = 1;
	/**自取**/
	public static final String ZIQU = "1";
	/**快递**/
	public static final String KUAIDI = "2";
	
	public static String serviceTel;//客服电话 这个版本保存在这里
    public static String CACHE_DIR_SD; // 资源缓存的SD卡的文件
    
    /**标记收货地址**/
	public static int selectAddress = 0;
	
	//用户id
	public static String userId;
	//用户中心id
	public static String userCenterId;
	//用户名称
	public static String userName;
	//用户昵称
	public static String nickName;
	//用户积分
	public static String score;
	
}
